package com.mk.wardsystemserver.service;

import com.mk.wardsystemserver.pojo.Department;
import com.mk.wardsystemserver.pojo.Patient;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mk.wardsystemserver.pojo.RespBean;
import com.mk.wardsystemserver.pojo.RespPageBean;
import io.swagger.models.auth.In;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2022-03-24
 */
public interface IPatientService extends IService<Patient> {
    /**
     * 获取所有病人信息(分页)
     * @param pageCurrent
     * @param pageSize
     * @param patient
     * @return
     */

    RespPageBean getPatientByPage(Integer pageCurrent, Integer pageSize, Patient patient );

    /**
     *添加病人信息
     * @param patient
     * @return
     */
    RespBean addPatient(Patient patient);

    /**
     * 获取费用明细
     * @return
     */
    List<Patient> getPayDetails();

    /**
     * 病人治疗信息查询
     * @return
     */
    RespPageBean getInfo(Integer pageCurrent, Integer pageSize,Patient patient);
}
